﻿<!doctype html>
<html>
<head>
<#include "/part_meta.ftl">
<title>充值记录-迈小众</title>
<link href="${st.resDomain}/css/style.css" rel="stylesheet">
<link href="${st.resDomain}/css/form-base.css" rel="stylesheet">
<link href="${st.resDomain}/css/MC-base.css" rel="stylesheet">
<link href="${st.resDomain}/css/MC.css" rel="stylesheet">
</head>

<body>
<!--- header --->
<div id="header">
  <div class="main f_clear">
  	<div class="logo"><h2><@shiro.principal property="c_name"/></h2><span>您好！<@shiro.principal property="m_name" />， <a href="${st.domain}/member/logoutDo">退出</a></span></div>
    <div class="f_right"><a href="${st.userDomain}">个人中心</a> <@shiro.hasRole name="SHOP"><a href="${st.shopDomain}">店铺管理</a></@shiro.hasRole><a href="${st.firmDomain}" class="selected">企业管理</a></div>
  </div>
</div>
<!--- header end--->
<!--topnav -->
<div id="topnav">
  <div class="main">
    <ul class="left">
      
      <li><a href="${st.firmDomain}/goods/list">商品</a></li>
      <li><a href="${st.firmDomain}/store/list">店铺</a></li>
      <li class="selected"><a href="${st.firmDomain}/memberVip/list">会员</a></li>
      <li><a href="${st.firmDomain}/company/edit">企业</a></li>
      <li><a href="${st.firmDomain}/goodsReport">数据</a></li>
    </ul>
  </div>
</div>
<!--topnav end-->
<div id="main" class="f_clear">
  <div id="left">
    <ul id="menu1">
      <li><a href="${st.firmDomain}/memberVip/list">企业会员</a></li>
	  <li class="selected"><a href="${st.firmDomain}/memberPrepaid/list">充值查询</a></li>
      <li><a href="${st.firmDomain}/memberPromote">充值设置</a></li>
    </ul>
  </div>
  <div id="right">
    <div id="title">充值查询</div>
    <div id="search">
    <form id="search_form" onsubmit="$(this).showMsg('正在查询...', 'load');">
      <div class="left" style="padding-top:4px; width:auto; float:right">
        <span>用户:</span>
        <input name="searchWord" type="text" value="${searchWord}" autofocus="autofocus" placeholder="用户名/手机号/邮箱"  autocomplete="off" class="k" />
        <span>时间:</span>
        <input type="text" id="stPicker" value="<#if mp4s.startTime??>${mp4s.startTime?number_to_date}</#if>" onclick="WdatePicker({dateFmt:'yyyy-M-d',startDate:'%y-%M-%d',maxDate:'%y-%M-%d',errDealMode:1})" readonly class="Wdate" style="width:100px;"/>
        <input id="startTime" name="startTime" type="hidden" value="${mp4s.startTime}"/>
        <span>-</span>
          <input type="text" id="etPicker" value="<#if mp4s.endTime??>${mp4s.endTime?number_to_date}</#if>" onclick="WdatePicker({dateFmt:'yyyy-M-d',startDate:'%y-%M-%d',maxDate:'%y-%M-%d',errDealMode:1})" readonly class="Wdate" style="width:100px;"/>
          <input id="endTime" name="endTime" type="hidden" value="${mp4s.endTime}"/>
        <input type="submit" class="feignhide"><!-- 实现回车提交 -->
        <a href="javascript:;" onclick="$('#search_form').submit();" class="btn3">查询</a></div>
    </form>
    </div>
    <div id="hygl">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
        <tr>
          <th>用户名</th>
          <th>充值金额（元）</th>
          <th>充值时间</th>
          <th>充值店铺</th>
          <th class="cz">操作人</th>
        </tr>
        <#list list as mp>
        <tr>
          <td><a href="#">${mp.memberByMemberId.name}</a></td>
          <td>${mp.prepaid}<#if mp.given gt 0><span style="color:red">+${mp.given}</span></#if></td>
          <td>${mp.addTime?number_to_datetime}</td>
          <td>${mp.store.name}</td>
          <td>${mp.memberByCheckerId.name}<#if mp.memberByCheckerId.realName??>[${mp.memberByCheckerId.realName}]</#if></td>
        </tr>
        </#list>
      </table>
      <div class="tabletj">
        <div id="page">
          ${pl.linkString}
        </div>
      </div>
    </div>
  </div>
</div>
<!--footer-->
<div id="footer">Copyright© 迈小众 <span style="padding-left:30px;">客服QQ：<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=3101084438&site=qq&menu=yes" rel="nofollow"><img border="0" src="http://wpa.qq.com/pa?p=2:3101084438:50" alt="点击联系我们，QQ：3101084438" title="点击联系我们，QQ：3101084438"></a></span></div>
<!--footer end-->
<script data-main="${st.resDomain}/scripts/firm/memberPrepaid_list" src="${st.resDomain}/scripts/require.js"></script>
</body>
</html>
